package com.wty.basic.switchDemo;

/**
 * 一个也没匹配上，匹配default
 */
public class Test1 {
    public static void main(String args[]) {
        int i = 5;
        switch (i) {
            case 1:
                System.out.println("first");
            case 2:
                System.out.println("second");
            case 3:
                System.out.println("third");
            default:
                System.out.println("default");
        }
    }
}
